export default {
  data () {
    return {
      fields: {
        email: '',
        mobile: '',
      },
    }
  },

  methods: {
    submitForm (data) {
      this.fields = data
      this.loginModal.visible = true

      this.$nextTick(() => {
        this.loginModalRef.sendMobileCode()
      })
    },
  },
}
